<html>
<head>
	 <meta charset="utf-8">
	<title>双十一抢单哪家强</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0, maximum-scale=1.0,user-scalable=no,minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta content="telephone=no, email=no" name="format-detection">
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="renderer" content="webkit">
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 针对手持设备优化，主要是针对一些老的不识别viewport的浏览器，比如黑莓 -->
    <meta name="HandheldFriendly" content="true">
    <!-- 微软的老式浏览器 -->
    <meta name="MobileOptimized" content="320">
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <link href="css/basic.css?20161025008" rel="stylesheet" type="text/css"></head>

</head>
<body style="background:#f81759">
	<div class="loading-box">
        <img src="img/loading_bg.png" style="border: 0;max-width:100%;width: 100%;">
		<div id="indicatorContainer"></div>
        <p>结果处理ing...好紧张 >_<</p>
	</div>
	<p class="footer">比第二还前一名的中国CDN品牌 @网宿科技</p>

	<script type="text/javascript"  src="js/jquery.min.js"></script>
	<script type="text/javascript"  src="js/radialIndicator.min.js"></script>
	<script type="text/javascript">

        //进度条插件注册
		var radialObj = radialIndicator('#indicatorContainer', {
                    radius: 70,
                    barWidth: 12,
                    barBgColor: '#d7164f',
                    barColor: '#fff',
                    minValue: 0,
                    maxValue: 100,
                    fontWeight: 'normal',
                    percentage: true
                });
		var perCount = 0;    //后端返回结果后执行 radialObj.value(100);


        //定时更新进度百分比
		var changePer=function changePer(){
			if(perCount>110){ 
				radialObj.value(100);
				window.clearInterval(timer);
			    window.location.href="result.html"
			}else{
				radialObj.value(perCount);
				perCount = perCount+Math.floor(Math.random()*10);
			}

		}
        var timer = setInterval(changePer,1000);

	</script>
</body>
</html>